package ${groupId}.core.${moduleName}.domain;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

<#list importSet as imp>
import {imp};
</#list>

/**
 * 代码生成器自动生成
 * Date:${.now}
 * @author
 */
@Table(name = "${table.tableName}")
${authority} class ${className} implements Serializable{

	private static final long serialVersionUID = 1L;

    <#list fieldSet as field>
    /**
     * ${field.column.remarks}
     */
    @Column(name = "${field.column.columnName}")
    ${field.authority} ${(field.fieldClazz.simpleName)!} ${field.name};
    </#list>

	public ${className}(){}

    public ${className}(Integer id){setId(id);}


}